package com.xiongwei.myspringbootproject.dao;

import com.xiongwei.myspringbootproject.domain.ProductJD;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author XiongWei
 * @date 2021/9/23
 */
@Repository
public interface ProductJDDao extends JpaRepository<ProductJD, Long> {

    List findAllByBrandLike(String brandEnglish);

    List findAllByBrandCn(String brandCn);
}
